View XML
The View XML action enables you to look at the raw source of the indexed article (KC or Knowledge Container) and view its non–product Segments and Dictionary Entries, and properties such as Slice, Synopsis, Modified Date, Manager, and other properties that are not available elsewhere. Only users with permission can view the XML source. For more information, Viewing a document.
At a minimum, the XML source includes the following details:
- External ID
- Slice ID
- Title
- Synopsis
- Full Document Contents
- Create Date
- Last Modified Date
- Published Date
- Last Used Date
- Document tags
- Avg Rating
- Rating Count
- View Count
- Solution Count
- Unified Template ID (for authored documents)
- Segments
- Dictionary Entry tags
- Knowledge Source
- Last Feedback Date
A simplified XML view would look like this:
<KC Attributes>
<Content />
<Attachments />
<Images />
<KCTags />
<KCTitle />
<KCSynopsis />
<KCXMLSummary />
... // Other details, such as Title, Synopsis, Authors, External URL, Rating, Solution, Template Id, View Count, Link Count, Last Modified Date, Last Used Date, Last Feedback Date and so on
</KC>
The following table lists the XML keys and attributes that may be included and provides the description:
Key | Attribute | Description |
---|---|---|
KC | ExternalID | The external ID of the article. |
KC | SliceID | The ID of the article's Slice. |
KC > Content > KANISA_INDEXED > KANISA_TITLE | N/A | The title of the indexed article. |
KC > Content > KANISA_INDEXED > KANISA_AUTHORED_DOC > CA | N/A | Full contents of the indexed article by Content Area. |
KC > Content > KANISA_INDEXED > KANISA_AUTHORED_DOC > CA > Keywords | N/A | Keywords applied to the indexed article. |
KC > Content > KANISA_INDEXED > KANISA_AUTHORED_DOC > UMAS_ARCHIVESTATE_ACTIVE_1_1> | N/A | The workflow state the article is in. |
KC > Attachments > Attachment | externalURLs | The URL to the attachment. |
KC > Attachments > Attachment | originalFilename | The original name of the attachment. |
KC > Images > Image | externalURL | The URL to the image. |
KC > Images > Image | originalFilename | The original name of the image. |
KC > KCTitle | N/A | The actual title of the article. |
KC > KCSynopsis | N/A | The synopsis of the article. |
KC > KCXMLSummary > XMLSummary | N/A | The XML summary of the article's properties, including:
|
KC > KCAuthors | N/A | The authors of the article. |
KC > KCExternalURL | N/A | The URL of the article. |
KC > Rating | AccessCount | The number of times the article was viewed. |
KC > Rating | Count | The number of times the article was rated. |
KC > Rating | PositiveCount | The number of times the article was rated positively. |
KC > Rating | Score | Arcticle's rating in RAR score. |
KC > LastModifiedDate | N/A | The date the arctile was last modified. The value is the same as for KC > KCXMLSummary > XMLSummary > DOCLASTMODIFIEDDATE. |
KC > LastUsedDate | N/A | The date and time the article was last used (addded to a case or rated). |
KC > LastFeedbackDate | N/A | The date Feedback was last submitted to the article. |
KC > ViewCount | N/A | Shows how many times the article was viewed. |
KC > LinkCount | N/A | Shows how many times the article was used as a link in other article. |
KC > SolutionCount | N/A | The number of times the article was used as a solution to the problem. |
KC > TemplateId | N/A | The ID of the Unified Template the authored article is based on. |
KC > KCTags > Tag | Attribution | Human or TopicSpotter attribution for the tag; for example, HUMAN. |
KC > KCTags > Tag | Weight | The value of the tag in the document score computation; for example, 1.000000. |
KC > KCTags > Tag | classification | Tag classification; for example, Normal or Segment. |
KC > KCTags > Tag > Node | See below | Name of the node; for example, Article, English, Active, or Content Change. |
KC > KCTags > Tag > Node | NodeID | The ID of the Node; for example, DT_Article or LA_eng_Local. |
KC > KCTags > Tag > Node | TaxonomyID | Taxonomy ID of the tag; for example, DT_DocType or LA_US. |